package com.hiultra.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 审批记录对象 simf_examine_item
 * 
 * @author ruoyi
 * @date 2023-09-25
 */
public class SimfExamineItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long itemId;

    /** 审批流程 */
    @Excel(name = "审批流程")
    private Long examineId;

    /** 审批流程 */
    @Excel(name = "审批流程")
    private String examineName;

    /** 单号 */
    @Excel(name = "单号")
    private String billNumber;

    /** 步骤名称 */
    @Excel(name = "步骤名称")
    private Long examineSetupId;
    /** 步骤名称 */
    @Excel(name = "步骤名称")
    private String setupName;

    /** 0-正常,1-废弃 */
    @Excel(name = "0-正常,1-废弃")
    private String status;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date insertTime;

    /** 0-未审批,1-审批通过,2-审批不通过 */
    @Excel(name = "0-未审批,1-审批通过,2-审批不通过")
    private String examineResult;

    /** 审批人 */
    @Excel(name = "审批人")
    private Long examineUserId;

    /** 审批人 */
    @Excel(name = "审批人")
    private String examineUserName;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date examineTime;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String itemRemark;

    /** 审批部门 */
    @Excel(name = "审批部门")
    private Long examineDeptId;
    /** 审批部门 */
    @Excel(name = "审批部门")
    private String examineDeptName;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setExamineId(Long examineId) 
    {
        this.examineId = examineId;
    }

    public Long getExamineId() 
    {
        return examineId;
    }
    public void setBillNumber(String billNumber) 
    {
        this.billNumber = billNumber;
    }

    public String getBillNumber() 
    {
        return billNumber;
    }
    public void setExamineSetupId(Long examineSetupId) 
    {
        this.examineSetupId = examineSetupId;
    }

    public Long getExamineSetupId() 
    {
        return examineSetupId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }
    public void setExamineResult(String examineResult) 
    {
        this.examineResult = examineResult;
    }

    public String getExamineResult() 
    {
        return examineResult;
    }
    public void setExamineUserId(Long examineUserId) 
    {
        this.examineUserId = examineUserId;
    }

    public Long getExamineUserId() 
    {
        return examineUserId;
    }
    public void setExamineTime(Date examineTime) 
    {
        this.examineTime = examineTime;
    }

    public Date getExamineTime() 
    {
        return examineTime;
    }
    public void setItemRemark(String itemRemark) 
    {
        this.itemRemark = itemRemark;
    }

    public String getItemRemark() 
    {
        return itemRemark;
    }

    public String getExamineName() {
        return examineName;
    }

    public void setExamineName(String examineName) {
        this.examineName = examineName;
    }

    public String getSetupName() {
        return setupName;
    }

    public void setSetupName(String setupName) {
        this.setupName = setupName;
    }

    public String getExamineUserName() {
        return examineUserName;
    }

    public void setExamineUserName(String examineUserName) {
        this.examineUserName = examineUserName;
    }

    public Long getExamineDeptId() {
        return examineDeptId;
    }

    public void setExamineDeptId(Long examineDeptId) {
        this.examineDeptId = examineDeptId;
    }

    public String getExamineDeptName() {
        return examineDeptName;
    }

    public void setExamineDeptName(String examineDeptName) {
        this.examineDeptName = examineDeptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("examineId", getExamineId())
            .append("billNumber", getBillNumber())
            .append("examineSetupId", getExamineSetupId())
            .append("status", getStatus())
            .append("insertTime", getInsertTime())
            .append("examineResult", getExamineResult())
            .append("examineUserId", getExamineUserId())
            .append("examineTime", getExamineTime())
            .append("itemRemark", getItemRemark())
            .append("examineDeptId", getExamineDeptId())
            .toString();
    }
}
